Ext.define('AM.view.employee.employeeList' ,{
    extend: 'Ext.grid.Panel',
    alias: 'widget.employeeList',
    width: 400,
    height: 200,
    title: 'All Employees',
    store: 'Employees',
    initComponent: function() {
        this.columns = [
            {
            text: 'Name',
            width: 100,
            sortable: false,
            hideable: false,
            dataIndex: 'name'
        },
        {
            text: 'Email Address',
            width: 150,
            dataIndex: 'email',
            hidden: false
        },
        {
            text: 'Phone Number',
            flex: 1,
            dataIndex: 'phone'
        }
        ];

        this.callParent(arguments);
    }
});